<%@ page contentType="text/html;charset=UTF-8" pageEncoding="UTF-8" language="java" %>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <link rel="icon" href="${pageContext.request.contextPath}/static/title.ico" type="image/x-icon"/>
    <title>Ding~~~~~Σ( ° △ °|||)︴</title>
    <!-- CSS only -->
    <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@4.5.0/dist/css/bootstrap.min.css"
          integrity="sha384-9aIt2nRpC12Uk9gS9baDl411NQApFmC26EwAOH8WgZl5MYYxFfc+NcPb1dKGj7Sk" crossorigin="anonymous">
    <!-- JS, Popper.js, and jQuery -->
    <script src="https://cdn.jsdelivr.net/npm/jquery@3.5.1/dist/jquery.slim.min.js"
            integrity="sha384-DfXdz2htPH0lsSSs5nCTpuj/zy4C+OGpamoFVy38MVBnE+IbbVYUew+OrCXaRkfj"
            crossorigin="anonymous"></script>
    <script src="https://cdn.jsdelivr.net/npm/popper.js@1.16.0/dist/umd/popper.min.js"
            integrity="sha384-Q6E9RHvbIyZFJoft+2mJbHaEWldlvI9IOYy5n3zV9zzTtmI3UksdQRVvoxMfooAo"
            crossorigin="anonymous"></script>
    <script src="https://cdn.jsdelivr.net/npm/bootstrap@4.5.0/dist/js/bootstrap.min.js"
            integrity="sha384-OgVRvuATP1z7JjHLkuOU7Xw704+h835Lr+6QL9UvYjZE3Ipu6Tp75j7Bh/kR0JKI"
            crossorigin="anonymous"></script>
    <script src="https://cdn.bootcdn.net/ajax/libs/jquery/3.5.1/jquery.js"></script>
    <link type="text/css" href="${pageContext.request.contextPath}/css/updatePassword.css" rel="stylesheet">
    <script src="${pageContext.request.contextPath}/js/saxon/updatePasseord.js"></script>
</head>
<body>
<div id="form">
    <form method="post" action="${pageContext.request.contextPath}/pwdmodify" onsubmit="return submit_change()">
        <div>密码找回</div>
        <div style="font-size: 15px">想起来了？<a href="${pageContext.request.contextPath}/JSP/index.jsp">登录</a></div>
        <div class="form-group">
            <label for="userAccount">用户账号</label>
            <input type="text" AUTOCOMPLETE="off" required class="form-control form-control-sm" name="userAccount"
                   id="userAccount" onblur="account_check()"
                   aria-describedby="emailHelp">
            <span hidden id="userAccount_span"></span>
        </div>
        <div class="form-group">
            <label for="newpassword">新密码</label>
            <input type="password" AUTOCOMPLETE="off" required class="form-control form-control-sm" name="newpassword"
                   id="newpassword" onblur="newpassword_check()"
                   aria-describedby="emailHelp">
            <span hidden id="newpassword_span"></span>
        </div>
        <div class="form-group">
            <label for="rnewpassword">确认新密码</label>
            <input type="password" AUTOCOMPLETE="off" required class="form-control form-control-sm"
                onblur="rnewpassword_check()"   name="rnewpassword" id="rnewpassword">
            <span hidden id="rnewpassword_span"></span>
        </div>
        <button type="submit" class="btn btn-primary">Submit</button>
    </form>
</div>
</body>
</html>